package cc.wsyw126.java.service;

/**
 * Created by junpeng.yang on 16/8/8.
 */
public class Generate {
    public <T>  T thisIsT(T agr){
        System.out.println(agr.getClass());
        return agr;
    }

    public <T> T thisIsUnknow(Generator<?,?> agr){
        System.out.println("Generate.thisIsUnknow");
        return (T) (agr.getA().toString()+agr.getB().toString());
    }

}
